<div class="contacts form">
<?php echo $this->Form->create('Contact'); ?>
	<fieldset>
		<legend><?php echo __('Add Contact'); ?></legend>
	<?php
		echo $this->Form->input('name');
		echo $this->Form->input('position');
		echo $this->Form->input('email');
		echo $this->Form->input('mobile');
		echo $this->Form->input('home');
		echo $this->Form->input('office');
		echo $this->Form->input('address');
		echo $this->Form->input('notes');
		echo $this->Form->input('category');
		echo $this->Form->input('taken_from');
		echo $this->Form->input('created_date',
                                 array('empty' => TRUE,'dateFormat' =>'DMY'
                                 		                        ,'minYear'=>date('Y')-100,
                                                                 'maxYear'=>date('Y')+2));
		echo $this->Form->input('modified_date',array('empty' => TRUE,'dateFormat' =>'DMY'
                                                		         ,'minYear'=>date('Y')-100,
                                                                 'maxYear'=>date('Y')+2));
		echo $this->Form->input('dept_of_cont');
		echo $this->Form->input('MailList');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit')); ?>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>

                		<li><?php echo $this->Html->link(__('Users'), array('controller' => 'Users','action' => 'index')); ?></li>
                		<li><?php echo $this->Html->link(__('Departments'), array('controller' => 'departments', 'action' => 'index')); ?> </li>
                		<li><?php echo $this->Html->link(__('Contacts'), array('controller' => 'contacts', 'action' => 'index')); ?> </li>
                		<li><?php echo $this->Html->link(__('Mail Lists'), array('controller' => 'mail_lists', 'action' => 'index')); ?> </li>
                		<li><?php echo $this->Html->link(__('Timesheets'), array('controller' => 'timesheets', 'action' => 'index')); ?> </li>
                	</ul>
</div>
